package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class Invoice {

    @TableId(value = "invoice_id", type = IdType.ASSIGN_ID)
    private Long invoiceId;
    private Long deliveryOrderId;
    private BigDecimal invoiceAmount;
    private String paymentId;
    private String invoiceStatus;  // 枚举类型也可以用String来代替
}

